define(["loginRegister","register","login"],(loginRegister,register,login)=>{
    return function (){
        $(".login").children(".user").on("click.a",function(){
            $(".loginBox").css({display:"block"}).load("../public/login.html",function(){

                loginRegister();

                register();

                login();
            });
        })
    }
})